package com.sxbbc.common.core.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sxbbc.common.core.entity.jz.ChickenFund;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sxbbc.common.core.utils.BasePage;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 基金表 服务类
 * </p>
 *
 * @author 
 * @since 2020-04-26
 */
public interface IChickenFundService extends IService<ChickenFund> {

    /**
     * 查询释放基金
     * @return
     */
    List<ChickenFund> selectReleaseFund();

    /**
     * 释放基金
     * @return
     */
    int releaseFund(List<String> paycodes);

    IPage<ChickenFund> selectChickenFundList(BasePage<ChickenFund> page, ChickenFund chickenFund);

    int setTime();

    HashMap<String, Object> queryTotalFundByDate(String queryTmie);

    void handleLaterDay(List<Integer> ids, int day);
}
